﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>院前急救 - 急救信息</title>
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/ligerui-icons.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Gray/css/all.css" />
    <link rel="stylesheet" href="~/Content/css/common.css" />
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/ligerUI/js/ligerui.all.js"></script>
    <script src="~/Scripts/common.js"></script>
    <script src="~/Areas/TraumaCenter/Scripts/FirstAid.js"></script>
    <style type="text/css">
    h3{margin:0 30px 10px 0;padding:35px 0 8px;border-bottom:solid 1px #888;color:#000;font-size:14px;}
	td{padding:5px;}
	.tab-contain{overflow:hidden;width:100%;}
	#tabs{overflow:hidden;margin:0;padding:0;width:100%;list-style:none;}
	#tabs li{float:left;margin:0;padding:5px;padding-bottom:0;}
	li a{position:relative;float:left;padding:5px 30px;border:1px solid #F1F1F1;border-radius:2px 2px 0 0;background:#fff;color:#444;text-decoration:none;}
	.current a{z-index:4;outline:0;background:#F1F1F1;}
	.hoverItem a{background:#fff;}
	#content{position:relative;padding:0;border-top:1px solid #F1F1F1;border-radius:0 5px 5px 5px;background:#fff;}
	.item{display:none;}
	.show{display:block;}
	.patient{margin-bottom:5px;padding:5px 5px;border:1px solid #eee;text-align:center;line-height:25px;cursor:pointer;}
	.patientCurrent{background:#F1F1F1;}
	table.gridtable{border-collapse:collapse;border-color:#666;border-width:1px;}
	table.gridtable th{padding:8px 0 8px 0;width:180px;border-color:#c1bebe;border-style:solid;border-width:1px;background-color:#fbf8f8;text-align:center;}
	table.gridtable td{width:180px;height:30px;border-color:#c1bebe;border-style:solid;border-width:1px;background-color:#fff;text-align:center;line-height:30px;}
	#div_tbPatientList{position:relative;overflow-y:auto;height:600px;scrollBar-face-color:#d1d1d4;scrollbar-highlight-color:#f0f0f0;scrollBar-3dLight-color:#f0f0f0;scrollBar-darkshadow-color:#f0f0f0;scrollBar-shadow-color:#f0f0f0;scrollBar-arrow-color:#f0f0f0;scrollBar-track-color:#f0f0f0;scrollBar-base-color:#f0f0f0;}
	.test-1::-webkit-scrollbar{width:5px;height:1px;}
	.test-1::-webkit-scrollbar-thumb{border-radius:10px;background:#d1d1d4;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);}
	.test-1::-webkit-scrollbar-track{border-radius:10px;background:#f0f0f0;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);}
	.btn-Start-pass{width:130px;height:26px;border-radius:5px;background:url(/Content/images/btn_small_pass.png) no-repeat scroll 4px 4px;background-color:#87ceeb;line-height:26px;cursor:not-allowed;}
	.btn-Start-rollback{width:130px;height:26px;border-radius:5px;background:url(/Content/images/btn_small_back.png) no-repeat scroll 4px 4px;background-color:#87ceeb;line-height:26px;cursor:pointer;}
	.btn-Start-rollback span{float:right;margin-right:10px;color:#FFF;font-size:16px;font-family:'Microsoft YaHei';}
	.btn-Start-pass span{float:right;margin-right:10px;color:#FFF;font-size:16px;font-family:'Microsoft YaHei';}
	.radio_label{display:inline-block;width:auto;height:22px;background:url(/content/images/radiobutton.png) no-repeat;background-position:-13px -16px;text-indent:22px;line-height:22px;}
	.radio_label:hover{background-position:-13px -116px;}
	input[type=radio]{width:0;}
	.checkbox_label{display:inline-block;width:auto;height:22px;background:url(/content/images/checkboxbutton.png) no-repeat;background-position:-13px -16px;text-indent:22px;line-height:22px;}
	.checkbox_label:hover{background-position:-13px -116px;}
	.checked{background-position:-13px -216px;}
	.checked:hover{background-position:-13px -216px;}
	input[type=checkbox]{width:0;}
    </style>
</head>
<body>
    <div class="tab-contain">
        <ul id="tabs">
            <li class="current"><a style="cursor:pointer;" title="tab1">急救信息</a></li>
            <li><a style="cursor:pointer;" title="tab2">历史记录</a></li>
        </ul>
        <div id="content">
            <div id="tab1" class="item show">
                <div id="container">
                    <div position="left">
                        <div style="text-align:center;margin:10px;">
                            <table style="width:100%;" >
                                <thead>
                                    <tr>
                                        <td style="background: skyblue; color: #fff; line-height: 25px; border: 1px solid #eee; border-radius: 5px;">
                                            当前急救总人数：<span id="spanPatientCount">0</span>人
                                        </td>
                                    </tr>
                                </thead>                               
                            </table>
                            <div id="div_tbPatientList" class="test-1">
                                <table id="tbPatientList" style="width:100%;"></table>
                            </div>
                        </div>
                    </div>
                    <div position="center" title="急救信息" style="overflow: scroll;" id="divInfo">
                        <div class="searchbar topPosition" style="position:absolute;margin:0px;z-index:1;" id="divInfoTop">
                            <div class="sbligerButton" style="margin-right: 20px; margin-left: 10px; display:none;">
                                <div title="绿色通道申请" id="btnStart" class="btn-Start-rollback"><span>启动绿色通道</span></div>
                            </div>
                            <div class="sbligerControl" style="margin-right: 20px;line-height: 23px">
                                <label><input type="checkbox" id="cbxAutoFresh" class="l-checkbox" />自动刷新15秒</label>
                            </div>
                            <div class="sbligerButton">
                                <input id="btnFresh" type="button" value="刷新" class="l-button" />
                                <input id="txtId" type="hidden" value="" />
                            </div>
                        </div>
                        <div style="margin:60px 0px 10px 0px;">
                            <table cellpadding="0" cellspacing="0" class="l-table-edit" >
                                <tbody>
                                    <tr>
                                        <td style="text-align: center;" colspan="5" >
                                            急救流水号： <span id="spanEmsSerialNum"></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: left;" colspan="5">
                                            <h3>基本信息：</h3>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">病人条码：</td>
                                        <td colspan="4">
                                            <span id="labWristbandnum">未绑定</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            姓名：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtPatientName" class="l-text">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            性别：
                                        </td>
                                        <td colspan="4">
                                            <select id="ddlPatientSex">
                                                <option value="1">男</option>
                                                <option value="0">女</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            年龄：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtPatientAge" class="l-text" typeof="number" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            联系方式：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtPatientPhone" class="l-text">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            身份证号：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtPatientIdNum" class="l-text">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            家庭住址：
                                        </td>
                                        <td colspan="3">
                                            <input type="text" id="txtPatientAddr" class="l-text" style="width:100%" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            救护车车号：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtAmbulanceNum" class="l-text">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            出车护士：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtEmsNurseName1" class="l-text" style="width:62px;">
                                            <input type="text" id="txtEmsNurseName2" class="l-text" style="width:62px;">
                                        </td>
                                       
                                    </tr>
                                    <tr>

                                        <td style="text-align: right">
                                            出车医生：
                                        </td>
                                        <td colspan="4">
                                            <input type="text" id="txtEmsDocName1" class="l-text" style="width:62px;">
                                            <input type="text" id="txtEmsDocName1" class="l-text" style="width:62px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            呼车原因：
                                        </td>
                                        <td colspan="3">
                                            <input type="text" id="txtEmsReason" class="l-text" style="width:100%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            发病地址：
                                        </td>
                                        <td colspan="3">
                                            <input type="text" id="txtEmsDiseaseAddr" class="l-text" style="width:100%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            发病时间：
                                        </td>
                                        <td colspan="3">
                                            <input type="text" id="txtEmsDiseaseTime" class="l-text">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: left;" colspan="5">
                                            <h3>患者生命体征：</h3>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right;">意识：</td>
                                        <td colspan="4">
                                            <div style="float:left;height:35px;line-height:35px;">
                                                <label for="chkPatientConsciousness1">
                                                    <input type="checkbox" id="chkPatientConsciousness1" name="chkPatientConsciousness" value="1" />&nbsp;清醒
                                                </label>
                                                <label for="chkPatientConsciousness2">
                                                    <input type="checkbox" id="chkPatientConsciousness2" name="chkPatientConsciousness" value="2" />&nbsp;对语言有反应
                                                </label>
                                                <label for="chkPatientConsciousness3">
                                                    <input type="checkbox" id="chkPatientConsciousness3" name="chkPatientConsciousness" value="2" />&nbsp;对刺痛有反应
                                                </label>
                                                <label for="chkPatientConsciousness4">
                                                    <input type="checkbox" id="chkPatientConsciousness4" name="chkPatientConsciousness" value="2" />&nbsp;对任何刺激无反应
                                                </label>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right;">呼吸：</td>
                                        <td colspan="4">
                                            <div style="float:left;height:35px;line-height:35px;">
                                                <input type="text" id="txtPatientBreathe" typeof="number" class="l-text" style="width:40px;" />次/分
                                            </div>
                                            <div style="float:left;height:35px;line-height:35px;margin-left:15px;">
                                                脉搏：<input type="text" id="txtPatientPulse" typeof="number" class="l-text" style="width:40px;" />次/分
                                            </div>
                                            <div style="float:left;height:35px;line-height:35px;margin-left:15px;">
                                                心率：<input type="text" id="" class="l-text" typeof=" number" style="width:40px;" />
                                            </div>
                                            <div style="float:left;height:35px;line-height:35px;margin-left:15px;">
                                                血压：<input type="text" id="txtPatientBloodL" typeof="number" class="l-text" style="width:40px;" /> / <input type="text" id="txtPatientBloodH" typeof="number" class="l-text" style="width:40px;" />mmHg
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            院前心电图：
                                        </td>
                                        <td colspan="4">
                                            <span id="nopic" style="display:none">无</span>
                                            <input id="btnPreEcgAddr" class="l-button pimg" style="background: skyblue; height: 30px; color: white; border-radius: 5px;" type="button" value="查看大图">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td colspan="4">
                                            <img style="width: 100px;height: 100px;border:0px;display:none;" border="0" onload="checkImgPRE_ECG_ADDR(true)" onerror="checkImgPRE_ECG_ADDR(false)" id="simg">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" class="l-table-edit-td">
                                            GRACE评分：
                                        </td>
                                        <td colspan="4">
                                            <span id="spnGRACE_SCORCE"> </span>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                        <td align="right" class="l-table-edit-td">
                                            危险层级：
                                        </td>
                                        <td colspan="4">
                                            <span id="spnGRACE_DANGER"> </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: left;" colspan="5">
                                            <h3>时间点记录：</h3>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="5">
                                            <table class="gridtable">
                                                <tr>
                                                    <th>时间节点</th>
                                                    <th>时间</th>
                                                    <th>记录人</th>
                                                </tr>
                                                <tr>
                                                    <td>派车时间</td>
                                                    <td><span id="spanEmsMessageTime"></span></td>
                                                    <td id="tdNURSE_NAME1"></td>
                                                </tr>
                                                <tr>
                                                    <td>出车时间</td>
                                                    <td><span id="spanEmsLeaveTime"></span></td>
                                                    <td id="tdNURSE_NAME2"></td>
                                                </tr>
                                                <tr>
                                                    <td>到达现场时间</td>
                                                    <td><span id="spanEmsArriveTime"></span></td>
                                                    <td id="tdNURSE_NAME3"></td>
                                                </tr>
                                                <tr>
                                                    <td>急救车返回时间</td>
                                                    <td><span id="spanEmsBacktoTime"></span></td>
                                                    <td id="tdNURSE_NAME4"></td>
                                                </tr>
                                                <tr>
                                                    <td>院前首份心电图时间</td>
                                                    <td><span id="spanPreEcgTime"></span></td>
                                                    <td id="tdNURSE_NAME5"></td>
                                                </tr>
                                                <tr>
                                                    <td>到达医院时间</td>
                                                    <td><span id="spanEmsArrivedoorTime"></span></td>
                                                    <td id="tdNURSE_NAME6"></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <div id="tab2" class="item">
            </div>
        </div>
    </div>
</body>
</html>



